package ar.republicagroup.gestion.util.helpers;

import javax.swing.ButtonGroup;
import javax.swing.ButtonModel;

/**
 *
 * @author Nicolas Frankel
 * @see 
 */
public class NoneSelectedButtonGroup extends ButtonGroup{
    
    @Override
    public void setSelected(ButtonModel model,boolean selected){
        System.out.println("UHHHH ENTRO ACÁ AL NONE LOCO");
        
        System.out.println("selected : "+selected);
        
        if(selected){
            super.setSelected(model, selected);
        } else {
            this.clearSelection();
        }    
    }
    
}
